package com.sgcc.system.mapper;

import com.sgcc.system.api.domain.SysDistrict;

import java.util.List;

/**
 * SysDistrictMapper接口
 * 
 * @author sgcc
 * @date 2021-03-22
 */
public interface SysDistrictMapper 
{
    /**
     * 查询SysDistrict
     * 
     * @param districtId SysDistrictID
     * @return SysDistrict
     */
    public SysDistrict selectSysDistrictById(String districtId);

    /**
     * 查询SysDistrict列表
     * 
     * @param sysDistrict SysDistrict
     * @return SysDistrict集合
     */
    public List<SysDistrict> selectSysDistrictList(SysDistrict sysDistrict);

    /**
     * 新增SysDistrict
     * 
     * @param sysDistrict SysDistrict
     * @return 结果
     */
    public int insertSysDistrict(SysDistrict sysDistrict);

    /**
     * 修改SysDistrict
     * 
     * @param sysDistrict SysDistrict
     * @return 结果
     */
    public int updateSysDistrict(SysDistrict sysDistrict);

    /**
     * 删除SysDistrict
     * 
     * @param districtId SysDistrictID
     * @return 结果
     */
    public int deleteSysDistrictById(String districtId);

    /**
     * 批量删除SysDistrict
     * 
     * @param districtIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysDistrictByIds(String[] districtIds);

    List<SysDistrict> getDistrictByOrgId(SysDistrict sysDistrict);

    SysDistrict getOrgNO(String orgId);

	public SysDistrict findOrgId(SysDistrict sysDistrict);
}
